package com.stu.boke.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.stu.boke.entity.Category;

@Mapper
public interface CategoryMapper {

	List<Category> listCategory();

	void insert(Category category);

	Category getCategoryById(Integer id);

	void update(Category category);

	void deleteCategory(Integer id);

	Integer countCategory();

}
